<?php require 'gauche.tpl.php';?>
	<div id="content">
	    <div>
	    <h2>Paramétrage du clan</h2>
	    <form action="" method="POST" id="frm_params">
	    <fieldset>
	        <legend>forum</legend>
	        <label for="frm_url">url du forum</label>
	        <input type="text" name="frm_url" id="frm_url" size="150" value="<?php echo $clanParams[0]['url_forum']; ?>"/>
	        <input type="submit" value="Enregistrer" name="frm_forum"/>
	    </fieldset>
	    <fieldset>
	        <legend>Strateurs</legend>
	        <div class="c45" >
	        <fieldset>
	            <legend>membres</legend>
	            <select size="10" class="c100" id="membres" multiple="multiple">
	            <?php foreach ($membres as $membreId => $pseudo) { ?>
	                <option value="<?php echo $membreId; ?>"><?php echo $pseudo?></option>
    	        <?php }?>    
	            </select>
	        </fieldset>
	        </div>
	        <div class="c10 action">
	            <fieldset>
	                <legend>action</legend>
        	        <p><input class="action" type="button" value="&gt;" id="oneToStrateurs" /></p>
        	        <p><input class="action" type="button" value="&gt;&gt;" id="allToStrateurs" /></p>
	                <p><input class="action" type="button" value="&lt;" id="oneToMembres" /></p>
        	        <p><input class="action" type="button" value="&lt;&lt;" id="allToMembres" /></p>
	            </fieldset>
	        </div>
	        
	        <div class="c45">
    	        <fieldset>
    	            <legend>strateurs</legend>
    	            <select size="10" class="c100" id="strateurs" name="strateurs[]" multiple="multiple">
    	            <?php foreach ($strateurs as $membreId => $strateur) { ?>
    	                <option value="<?php echo $membreId; ?>"><?php echo $strateur?></option>
        	        <?php }?>
    	            </select>
    	        </fieldset>
	        </div>
	        <div class="boutons">
	            <input type="submit" value="Enregistrer" name="frm_strateur" />
            </div>
	    </fieldset>
	    <fieldset>
	        <legend>gestion des évenements</legend>
	        <div class="c45">
    	        <fieldset>
    	            <legend>création</legend>
    	            <ul>
    	                <li><input id="frmCreateEventall" type="radio" name="frmCreateEvent" value="1" <?php if ($clanParams[0]['creation_event'] === '1') {echo 'checked="checked"'; }?>/>
    	                    <label for="frmCreateEventall">tous</label>
                        </li>
    	                <li><input id="frmCreateEventStaff" type="radio" name="frmCreateEvent" value="2" <?php if ($clanParams[0]['creation_event'] === '2') {echo 'checked="checked"'; }?>/>
    	                    <label for="frmCreateEventStaff">officiers</label>
                        </li>
    	                <li><input id="frmCreateEventStrateur" type="radio" name="frmCreateEvent" value="3" <?php if ($clanParams[0]['creation_event'] === '3') {echo 'checked="checked"'; }?>/>
    	                    <label for="frmCreateEventStateur">strateurs</label>
                        </li>
                    </ul>
                </fieldset>
	        </div>
	        <div class="c45">
	            <fieldset>
    	            <legend>enregistrement des équipes</legend>
    	            <ul>
    	                <li><input id="frmManageTeamall" type="radio" name="frmManageTeam" value="1" <?php if ($clanParams[0]['creation_team'] === '1') {echo 'checked="checked"'; }?>/>
    	                    <label for="frmManageTeamall">tous</label>
                        </li>
    	                <li><input id="frmManageTeamStaff" type="radio" name="frmManageTeam" value="2" <?php if ($clanParams[0]['creation_team'] === '2') {echo 'checked="checked"'; }?>/>
    	                    <label for="frmManageTeamStaff">officiers</label>
                        </li>                    
    	                <li><input id="frmManageTeamStrat" type="radio" name="frmManageTeam" value="3" <?php if ($clanParams[0]['creation_team'] === '3') {echo 'checked="checked"'; }?>/>
    	                    <label for="frmManageTeamStrat">strateurs</label>
                        </li>
                    </ul>
                </fieldset>
	        </div>
	         <div  class="boutons">
	             <input type="submit" value="Enregistrer" name="frm_Manage" /> 
	         </div>
        </fieldset>
	    <fieldset>
	        <legend>événements visibles</legend>
	        <label for="frm_nbEvt">Nombre d'event</label>
	        <input type="text" name="frm_nb_Evt" id="frm_nbEvt" value="<?php echo $clanParams[0]['nombre_event']; ?>"/>
	        <input type="submit" value="Enregistrer" name="frm_Event" />
	    </fieldset>
	    </form>
		</div>
	</div>